home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / dos / math / prmath21 / promath.doc < prev    next >
Text File  |  1994-03-05  |  26KB  |  765 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                               ProMATHeus (c) 1991
  16.  
  17.                              The Formula Processor
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.                              Blarney Stone Software
  30.                             2510 Blarney Stone Lane
  31.                              Bloomington, IL 61704
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                           A Guide to ProMATHeus (c) 1991
  62.  
  63. ProMATHeus is a copyrighted product designed to aid you in solving simple and
  64. complicated calculations of all types.  It was created by a professional
  65. mathematician and actuary who was frustrated by the lack of affordable
  66. calculation software which avoids the pitfalls of old-fashioned calculators (and
  67. their PC-based mimics) and spreadsheets.  ProMATHeus differs from calculator
  68. software in that it works like you think--not the way mechanics require.
  69. Further, it differs from spreadsheets in that it does not rely on their
  70. cumbersome cell-address "logic".  Features include:
  71.  
  72. - Named variables replacing the nondescript numbered memories of calculators,
  73.  
  74. - Formulas are entered easily, remembered, and interact with each other,
  75.  
  76. - Active formulas (i.e., those with variables) are reviewed constantly and
  77. partial and/or full solutions are displayed,
  78.  
  79. - Formulas can contain functions and variables with known or unknown values,
  80.  
  81. - Many common functions (logarithmic, trigonometric, financial, statistical...)
  82. are preprogrammed,
  83.  
  84. - Custom functions can be defined easily, call other functions, and simplify
  85. calculations,
  86.  
  87. - Custom functions can be solved (by iteration) for any one of their variables,
  88.  
  89. - Libraries of custom functions can be created relating to any discipline:
  90. mathematics, finance, engineering, statistics, surveying, navigation, etc.,
  91.  
  92. - One-variable custom functions can be plotted with the Graph feature,
  93.  
  94. - Entire work sessions (formulas, functions, and variables) can be saved and
  95. retrieved easily,
  96.  
  97. - The current work session is saved automatically.
  98.  
  99. ProMATHeus is a powerful tool for users ranging from the beginning algebra
  100. student to the advanced engineering or scientific professional.  It shapes
  101. easily to fit the computational needs of each individual.
  102.  
  103.  
  104. Required Registration-----------------------------------------------------------
  105.  
  106. After extensive development, it is now being released under the shareware
  107. concept.  Shareware allows you, the user, the chance to try a product before you
  108. buy it.  If, after trying it, you would like to continue using ProMATHeus, you
  109. must register your usage with a $15 donation sent to:
  110.  
  111.           Mark D. Brissman
  112.           Blarney Stone Software
  113.           2510 Blarney Stone Lane
  114.           Bloomington, IL 61704
  115.  
  116. Registered users will receive a full printed instruction manual with examples
  117. and formulas.  The manual explores the richness of ProMATHeus and includes
  118. hints for users of all levels and abilities.  Registered users also receive
  119. notices of future releases.
  120.  
  121. Registered users who donate $25 or more will receive ProMATHeus Plus.  This
  122. enhanced version contains a full complement of internal functions including:
  123.  
  124. solve          Solves any function you have defined for any of its variables
  125.                using an iterative technique,
  126.  
  127. integrate      Numerically integrates any continuous function you have
  128.                defined over a range,
  129.  
  130. differentiate  Returns the numeric differential of an function you have
  131.                defined at a point,
  132.  
  133. logical        True, false, and, or, not, two-variable comparisons,...
  134.  
  135. statistical    Factorials, combinations, permutations, erf function, normal,
  136.                inverse normal, chi-square, t distribution, F distribution,
  137.                and gamma. (Noncentral parameters and inverses are included
  138.                for most functions.)
  139.  
  140. logarithmic    Log (base 10), ln (base e), exponential, power,...
  141.  
  142. trigonometric  Sin, cos, tan,..., sinh, cosh, tanh,...
  143.  
  144. financial      Loans, annuities, effective yields,...
  145.  
  146. miscellaneous  Integer part, fractional part, polar/rectangular conversion,
  147.                square root,...
  148.  
  149.  
  150. Disclaimer of Liability-----------------------------------------------------
  151.  
  152. No warranty or representation is made, either expressed or implied, with
  153. respect to this program or documentation, including their quality, perfor-
  154. mance, merchantability, or fitness for a particular purpose.
  155.  
  156. Blarney Stone Software has tried to assure the accuracy of ProMATHeus.
  157. However, because computer programs are inherently complex and may not be
  158. completely free of errors,  you are advised to verify your work.
  159.  
  160.  
  161. Copyright-------------------------------------------------------------------
  162.  
  163. This product is distributed under the shareware concept.  You are permitted
  164. to copy and distribute this product to other potential users.  All users
  165. wishing to continue use of this product must pay for that right by register-
  166. ing with the Author (as provided on the previous page).  All registered users
  167. may make backup copies.
  168.  
  169.  
  170. Suggestions------------------------------------------------------------------
  171.  
  172. The Author of this program welcomes any comments and/or suggestions.  Please
  173. send all correspondence to the address given on the first page.  If problems
  174. occur, please make a note of any messages received, save your session to a
  175. unique file, and make a backup copy of your "PROMATH.DAT" file.  Include a
  176. diskette containing these files with your correspondence.
  177.  
  178.  
  179.  
  180.  
  181. Files shipped with ProMATHeus------------------------------------------------
  182.  
  183. PROMATH.EXE The ProMATHeus program.
  184.  
  185. PROMATH.DAT Contains the previous session (automatically saved).
  186.  
  187. FINANCE.DAT
  188. STATS.DAT   Two sample sessions provided with this program.
  189.  
  190. PROMATH.HLP Data used with the "help" key (F1).
  191.  
  192. PROMATH.DOC This file.
  193.  
  194. MONO.CLR
  195. AZTEC.CLR
  196. BLUESUIT.CLR
  197. CNDYCANE.CLR   Empty session files with various color schemes.
  198.  
  199.  
  200.  
  201. --------------------------------A Brief Tutorial-----------------------------
  202.  
  203. Starting---------------------------------------------------------------------
  204.  
  205. With the ProMATHeus disk in drive A:,
  206.  
  207.   type     :    A:<enter>
  208.  
  209.   Then type:    promath<enter>
  210.  
  211. Upon entry, ProMATHeus calls the 'PROMATH.DAT' file which contains the
  212. previous session which is saved each time automatically.  If you enter
  213. 'promath filename', the previously saved session 'filename' will be loaded.
  214. If you enter 'promath 0' ProMATHeus will not recall the previous session and
  215. will start with a clear screen.
  216.  
  217.  
  218. MONOCHROME USERS: Please type: 'promath mono.clr' to begin.  The mono color set
  219. should remain for all other sessions.
  220.  
  221.  
  222. Saving and Recalling Sessions, Exiting---------------------------------------
  223.  
  224. Sessions can be saved and recalled using the 'save filename'  and
  225. 'get filename' commands (see Appendix A) with file names of your choosing.
  226.  
  227. The 'exit' command will end ProMATHeus and save the current session to
  228. PROMATH.DAT.  'nosave' will exit without saving.
  229.  
  230.  
  231. The Screen-------------------------------------------------------------------
  232.  
  233. The screen consists of four main sections:
  234.  
  235. Formula window-  This section takes up the entire screen and is always show-
  236.                  ing.  It includes a listing of all formulas.
  237.  
  238. Input window-    This is the second line from the bottom.  This window
  239.                  automatically scrolls for long input.
  240.  
  241. Function window- This lists all user-defined functions.
  242.  
  243. Variable window- This lists all formula variables and their values.  If
  244.                  values are not determined, --unknown-- appears.
  245.  
  246. The function and variable windows are toggled on and off with the <Esc> key.
  247.  
  248. The formula, function, and variable windows (if sufficiently long) can be
  249. scrolled with the up and down arrows.  The Function window is scrolled if the
  250. Variable window is not showing (i.e., by using the <esc> key to toggle) and
  251. vice versa.  The Formula window is scrolled in all other cases.
  252.  
  253. The formula and function windows may be scrolled horizontally using the <F4>
  254. and <F5> keys.
  255.  
  256. The bottom left corner of the border provides information on memory usage.
  257.  
  258. Screen colors may be altered by using the clr..... commands of Appendix A.
  259. Also, three sessions are supplied which have alternative color sets (file
  260. extension CLR).  NOTE: All data will be erased if these files are retrieved.
  261.  
  262. Several other commands are provided in Appendix A to alter the appearance and
  263. performance of ProMATHeus.
  264.  
  265.  
  266. Entering Formulas------------------------------------------------------------
  267.  
  268. Formulas can be entered in several forms.  The simplest is a direct calcula-
  269. tion such as:
  270.  
  271. (Input window)
  272.   ??: 2+3
  273.  
  274. After pressing <enter> ProMATHeus responds:
  275.  
  276. (Formula window)
  277.    1| 2+3 --> 5
  278.  
  279. The ProMATHeus response consists of several parts:
  280.  
  281.   (number)(indicator) (original expression) --> (reduced expression)
  282.  
  283. 'Number' is used for copying and deleting formulas.  As demonstrated later,
  284. the 'indicator' identifies formulas which are evaluated once (|) from those
  285. that will be re-evaluated continuously ().  The 'reduced expression' is the
  286. current value for the 'original expression' which you typed.
  287.  
  288. Mathematical operators, in order of precedence, are:
  289.  
  290.   ( )      (including functions)
  291.    ^       (power)
  292.   * /
  293.   + -
  294.  
  295. Given no other precedence, calculations are performed left to right.  Thus:
  296.  
  297. (Formula window)
  298.    1| 2*3+5 --> 11
  299.    2| 2+3*5 --> 17
  300.    3| 2*(3+5) --> 16
  301.    4| 2^3*5 --> 40
  302.    5| 2^3^2 --> 64
  303.    6| 2^(3^2) --> 512
  304.  
  305.  
  306. Numbers may be in scientific notation: [sign]##.##e[sign][exponent]
  307.       2.3
  308.      -2.3
  309.       2.3e5
  310.      -2.3e-12
  311.  
  312. Any number of parentheses may be used.  The input line is limited to 200
  313. characters.  Longer equations should be split into sub-parts by using interim
  314. variables.
  315.  
  316.  
  317. Variable and Function Names--------------------------------------------------
  318.  
  319. Names must begin with an alpha character (a-z _ A-Z) and be followed by up to
  320. nine alphanumeric characters (a-z _ A-Z 0-9).  The constant PI or operational
  321. commands (listed in Appendix A) cannot be used as names.
  322.  
  323.  
  324. Variables--------------------------------------------------------------------
  325.  
  326. Formulas can contain variables in place of numbers.  ProMATHeus evaluates as
  327. much of the formula as it can and prints the result after the arrow:
  328.  
  329. (Formula window)
  330.    1 pennies+5*nickels --> pennies+5*nickels  if pennies & nickels are both
  331.                                                unknown, or,
  332.  
  333.    1 pennies+5*nickels --> 7+5*nickels        if pennies is known and
  334.                                                equals 7, or,
  335.  
  336.    1 pennies+5*nickels --> pennies+15         if nickels is known and
  337.                                                equals 3, or,
  338.  
  339.    1 pennies+5*nickels --> 22                 if both variables are known.
  340.  
  341. Note the symbols next to the formula numbers are  instead of |.   signifies
  342. "active" formulas with variables which will be recalculated with each press
  343. of the <enter> key.  | signifies "inactive" formulas without variables which
  344. are calculated only once.
  345.  
  346. The Variables window keeps track of all variables and their values, if known.
  347. The simplest way for a variable to become "known" is through an assignment
  348. expression as shown in the Input Window below.  Simple assignments like this
  349. do not become formulas--they simply update the value of the variable in-
  350. volved.  Variables also become "known" through assignment formulas like
  351. formulas 2 and 3 below.  Note that variables assigned to a constant expres-
  352. sion (formula 2) are evaluated only once (i.e., '|' is the indicator).  Since
  353. the Input Window reassigns "pennies" to equal 9, this value is used for
  354. "pennies" in formula 1 (which is active) and formula 2 (which is inactive) is
  355. ignored.
  356.  
  357. (Formula window)
  358.    1 pennies+5*nickels --> 9+5*nickels
  359.    2| pennies=10-3 --> pennies=7
  360.    3 rabbits=5*carrots+6 --> 5*carrots+6
  361.  
  362. (Input window)
  363.    pennies=9
  364.  
  365. A variable retains its value until it is changed by another assignment
  366. expression (as in the Input window above), changed by a current assignment
  367. expression (like #3), or set to --unknown-- by the "clear" command (see
  368. Appendix A).  A variable cannot be "clear"ed if it is defined by an active
  369. assignment expression (like #3).  However the variable (e.g., "rabbits") will
  370. automatically be set to --unknown-- if any of the assignment expression
  371. variables (e.g., "carrots") are --unknown--.
  372.  
  373. The constant PI may be used.  It represents 3.14159265358979.
  374.  
  375. The "copy #" command copies formula # into the Input window to be edited and
  376. produce a new formula.  The original formula # is not changed.  If the
  377. original and copied formulas are both active and define the same dependent
  378. variable, then the first formula is in effect until deleted.
  379.  
  380.  
  381. Functions-------------------------------------------------------------------
  382.  
  383. Functions can be included in formulas and can either refer to internal
  384. ProMATHeus functions or ones which you have created.  Internal functions are
  385. listed by pressing the <F2> key.  To use them, simply enter them in your
  386. formulas in the correct format.  For example:
  387.  
  388. (Formula window)
  389.    1 x=log(2) --> x=.301029995663981
  390.  
  391. You may input any valid expression (including variables and other functions)
  392. into a function.  Thus, the following are valid:
  393.  
  394. (Formula window)
  395.    1 y=log(2+z) --> y=1.39794000867204
  396.    2| z=19+4
  397. or
  398.    1| log(log(12)+3*log(13)) --> .645521625245258
  399.  
  400.  
  401. Notes on Certain Internal Functions-----------------------------------------
  402.  
  403. 1.   Trigonometric functions use and return angles measured in radians.  To
  404.      convert from degrees to radians use the "rad" function.  To convert from
  405.      radians to degrees use the "deg" function.  Thus, to get the cosine of
  406.      PI/3 radians enter "cos(PI/3)".  To get the cosine of 60 degrees (which
  407.      equals PI/3 radians) enter "cos(rad(60))".
  408.  
  409. 2.   The "pmt" function returns the required payment.  It requires the loan
  410.      amount, interest rate, and number of periods.  The interest rate must be
  411.      the decimal equivalent of the interest rate per period. Thus 10.2%
  412.      annually with monthly payments requires either a 10.2/1200 or a .0085
  413.      entry.
  414.  
  415. 3.   The "int" function returns the integer portion of a number.  The "abs"
  416.      function returns the absolute value of a number.
  417.  
  418. 4.   The norm(x,mean,stdev) and inorm(z,mean,stdev) functions are the normal
  419.      and inverse normal distributions respectively such that:
  420.  
  421.      'x' is an observed value,
  422.      'X' is the unknown true value, and,
  423.      'z' is the probability that the X < x given the observed mean and
  424.      standard deviation.
  425.  
  426.      Thus:  z = norm(x,mean,stdev), and,
  427.             x = inorm(z,mean,stdev).
  428.  
  429.      The erf(x) function is the statistical error function.
  430.  
  431.  
  432. Custom Functions------------------------------------------------------------
  433.  
  434. Customs functions are created by naming the function, listing the function
  435. variables, and assigning a valid arithmetic expression.  For example:
  436.  
  437. (Function window)
  438.   1: f(x)=x*x-3
  439.   2: g(q)=2*q+3
  440.   3: fire(fuel,heat)=f(fuel)*3-g(4+heat)
  441.  
  442. The function definition must be of the following form:
  443.  
  444.   (function name)(function variable list)=(valid equation using function
  445.                                            variables only)
  446.  
  447. The function name must be of the form defined previously.  The function
  448. variable list may include an list of up to ten function variables and is of
  449. the form:
  450.  
  451.   (var1,var2,var3,...)
  452.  
  453. These variables are used for the function definition only and are not
  454. retained as regular variables of ProMATHeus.  All function variables in the
  455. equation to the right of the equal sign must be in the function variable
  456. list.   Any functions called by a function must have been already defined.
  457. With the above functions:
  458.  
  459. (Formula window)
  460.   1 fire(5,3) --> 49
  461.  
  462. If all function variables are known, a function will return the calculated
  463. value, otherwise the function is not evaluated.  Thus if a value for "cement"
  464. is supplied but not for "gravel":
  465.  
  466. (Function window)
  467.   1: concrete(cement,gravel)=cement*3+gravel*2
  468.  
  469. (Formula window)
  470.   1 concrete(cmnt,rocks) --> concrete(15,rocks)
  471.   2| cmnt=15
  472.  
  473. Functions may be changed by using the "fcopy #" command (see Appendix A)
  474. which copies function # to the Input window for editing.  Note that even
  475. though a function is changed, values of function calls in inactive formulas
  476. (|) do not change.
  477.  
  478. Although presented only briefly, custom functions are one of ProMATHeus's
  479. most important features.
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486. Solving Functions------------------------------------------------------------
  487.  
  488. The solve operation allows you to solve any custom function for any one of
  489. its function variables, given:
  490.  
  491.   1.   Supplied values for its other function variables,
  492.   2.   The desired value which the function would normally return, and,
  493.   3.   A starting guess of the function variable which is being solved for.
  494.  
  495. It uses an iterative technique (Newton-Raphson) which may or may not con-
  496. verge.  Convergence and the solution achieved are aided by a good starting
  497. guess for the value.  Assume a defined function 'f' which returns the value
  498. 'a':
  499.  
  500.   a = f(...,b,c,d,...)    [i.e., any number of parameters]
  501.  
  502. If all other function variables are known (including 'b' and 'd'), then an
  503. estimate of 'c' would be entered as:
  504.  
  505.   estimate of c  = f(...,b,{desired a , guess of c},d,...).
  506.  
  507. That is, the value of 'c' is replaced by two numbers in braces--the desired
  508. outcome and a first guess.
  509.  
  510.   Thus if      f(t)=t*t+t,
  511.   then         f(3) --> 12,
  512.   and          f({12,1}) --> 3.
  513.  
  514. If difficulties are encountered, try different starting guesses for the
  515. value.  Also, by entering "solvedif #", the difference used in the iteration
  516. process (specifically, the derivative calculation) will be set to '#'
  517. (default: 1e-10).  Further, by entering "iterations #" the maximum number of
  518. iterations used to solve the function will be set to "#" (default: 100).
  519.  
  520.  
  521. Graphing Functions----------------------------------------------------------
  522.  
  523. One variable custom-functions are graphed using the following command:
  524.  
  525. graph fn# begx endx begy endy
  526.  
  527.   "fn#" is the number assigned to the custom function in the function
  528.   window.
  529.  
  530.   "begx" and "endx" are required and define the x-axis.
  531.  
  532.   "begy" and "endy" are optional and define the y-axis.  If omitted, the
  533.   entire screen is used for the graph.  If both are zeros, the y-axis will
  534.   be of the same unit size as the x-axis (i.e., square) and centered in the
  535.   graph.
  536.  
  537.   Pressing "Z" or "z" zoom the graph in and out.  Pressing <enter> returns
  538.   to main ProMATHeus windows.
  539.  
  540. Note: Two commands control video graphics mode (graphon #) and video text
  541. mode (graphoff #).  These are generally set at zero which is the automatic
  542. mode.  Some computers will require different modes.  For example, some VGA
  543. monitors require that "graphoff" be set to 768.  Appendix B may provide some
  544. assistance in this regard.  If you have difficulties, register users may
  545. contact Blarney Stone Software.
  546.  
  547.  
  548. Formula, Function, and Variable Order---------------------------------------
  549.  
  550. ProMATHeus was designed to balance speed, memory usage, and ease of use.  If
  551. the same variable is defined twice, the result is order dependent in the
  552. following manner:
  553.  
  554.   If the first assignment was in a inactive formula--the latter assignment
  555.   of the same variable supersedes the first.
  556.  
  557.   Otherwise, the second assignment is ignored until the first is deleted.
  558.  
  559. Formulas are listed and numbered in order of their entry.  For speed, it is
  560. more efficient to not restrict functions and variables to any order.  Thus,
  561. they are placed in the first available space in their lists.  In fact,
  562. deleted function numbers (using "fdel") are only replaced when new functions
  563. are entered.
  564.  
  565.  
  566. Circularity------------------------------------------------------------------
  567.  
  568. Circularity occurs when a formula or function calls itself, possibly through
  569. a long chain.  ProMATHeus does not allow circularity within functions as it
  570. would cause an infinite loop.  Formulas are allowed to be circular as it
  571. might be required temporarily with some editing tasks.  Generally, ProMATHeus
  572. will return no values for any formulas which contain circularity.  In most
  573. cases, you would want to delete formulas which create circularity.
  574.  
  575.  
  576. Error Messages---------------------------------------------------------------
  577.  
  578. ProMATHeus displays a number of error messages.  Calculation errors are
  579. indicated in the "reduced expression" portion of a formula listing.  Opera-
  580. tional error messages are listed at the bottom of the screen and begin with
  581. two numbers: the first is an internal code for Blarney Stone Software's use
  582. and the second identifies, if possible, the formula where the error occurred.
  583. ProMATHeus detects many input errors and makes you correct them before
  584. proceeding.
  585.  
  586.  
  587. Sample Sessions--------------------------------------------------------------
  588.  
  589. FINANCE.DAT and STATS.DAT are provided as short examples of the power of
  590. ProMATHeus's custom functions.  The first shows the development of the
  591. binomial and poisson distributions.  The second includes loan analysis
  592. functions.  You may retrieve them using the 'get' command described previous-
  593. ly.
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.                                  Appendix A
  607.                             Operational Commands
  608.  
  609. The following commands may also be entered at the ??: prompt:
  610.  
  611.   restart           Erase all functions, variables, and formulas.
  612.  
  613.   quit              Save the current session to automatic file and end
  614.                     ProMATHeus.
  615.  
  616.   save <filename>   Save current session to <filename>. <filename> must be a
  617.                     valid DOS file name and may include a path.
  618.  
  619.   nosave            Quit ProMATHeus without updating the automatic file.
  620.  
  621.   get <filename>    Retrieve a session from <filename>.  <filename> must be a
  622.                     valid DOS file name and may include a path.
  623.  
  624.   del # #-# #       Delete a list or range of equations: "del 1 5-8 10" would
  625.                     delete equations 1, 5, 6, 7, 8, and 10.
  626.  
  627.   fdel # # #        Delete a list of functions.  Only functions which are not
  628.                     included in any formula are deleted.
  629.  
  630.   clear var var
  631.   erase var var     Clear or erase a list of variables.  Only variables which
  632.                     are not included in any formula are affected.  If no
  633.                     variable list is given, all possible variables are af-
  634.                     fected.
  635.  
  636.   <esc>             Toggles Function and Variable display windows.
  637.  
  638.   <up>, <down>      Scrolls the active window up or down.
  639.   <F4>, <F5>        Scrolls the active window left or right.
  640.                     The active window is the Function window if the Variable
  641.                     window is not showing, and vice versa.  The active window
  642.                     is the Formula window in all other cases.
  643.  
  644.   <F1>              Help window.
  645.  
  646.   <F2>              Displays the internal functions window.
  647.  
  648.   <F3>              Displays system operation parameters.
  649.  
  650.   <F10>             Print analysis report.
  651.  
  652.   copy #            Copies formula # for editing and creation of a new formu-
  653.                     la.  The original formula # is not changed.  If both
  654.                     formulas define the same dependent variable, the first
  655.                     usually needs to be deleted.
  656.  
  657.   fcopy #           Copies function # for editing.  If the function name
  658.                     remains the same, the old function is replaced.  Other-
  659.                     wise, a new function is created.
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.   clr....f #        Changes foreground color to #.  # may be 0 to 15.
  667.   clr....b #        Changes background color to #.  # may be 0 to 7.
  668.  
  669.                     '....' is replaced with 'form' (formula window), 'func'
  670.                     (function window), 'vari' (variable window), 'inpu'
  671.                     (input line), or 'mess' (message windows).
  672.  
  673.   clrboard #        Changes boarder color to #.  # may be 0 to 15.
  674.  
  675.   graphon #         Sets the graphics mode to # (0 = automatic).
  676.  
  677.   graphoff #        Sets the text mode to # (0 = automatic).
  678.  
  679.   iterations #      Sets the maximum number of iterations to # for custom
  680.                     function 'Solve'.
  681.  
  682.   solvedif #        Sets the incremental difference used to calculate the
  683.                     derivative for the 'Solve' command.
  684.  
  685.   fix #             Sets the numeric format to FIXED with # decimals.
  686.  
  687.   sci #             Sets the numeric format to SCIENTIFIC with # decimals.
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.                                 Appendix B
  727.                                Screen Modes
  728.  
  729. If the default automatic modes of 0 do not produce desired results when
  730. graphing, you may want to experiment with other screen modes.  This might
  731. require a value which is the sum of the appropriate factors below.
  732.  
  733.        Display   Card
  734.  
  735. mono      1       256
  736. color     2       512
  737. EGA       4      1024
  738. VGA       8      2048
  739. Hercules         4096
  740.  
  741. Modes---------------------
  742.  
  743. Bl/Wt 40 text    32768
  744. Color 40 text    32769  or   256
  745.  
  746. Bl/Wt 80 text    32770  or   512
  747. Color 80 text    32769  or   768
  748.  
  749. Graphics         32770  or  1024
  750. Med res color    32770  or  1024
  751. Med res Bl/Wt    32771  or  1280
  752. High res Bl/Wt   32772  or  1536
  753.  
  754. Mono text        32773  or  1792
  755. Hercules text    32774  or  2048
  756. Hercules GFX     32775  or  2304
  757.  
  758. EGA med res      32781  or  3328
  759. EGA high res     32782  or  3584
  760. EGA mono         32783  or  3840
  761. EGA color        32784  or  4096
  762.  
  763. VGA mono         32785  or  4352
  764. VGA color        32786  or  4608
  765.